<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="">
		<meta name="author" content="">
		<title>汪正</title>
		<link rel="Shortcut Icon" href="bitbug_favicon.ico">
		<link rel="stylesheet" href="css/base.css" />
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/index.css" />
		<!-- Bootstrap Core CSS -->
		<link href="./sbadmin/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
		<!-- MetisMenu CSS -->
		<link href="./sbadmin/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
		<!-- Custom CSS -->
		<link href="./sbadmin/dist/css/sb-admin-2.css" rel="stylesheet">
		<!-- Custom Fonts -->
		<link href="./sbadmin/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
		<style>
			body,
			html {
				width: 100% !important;
				height: 100% !important;
				overflow: hidden;
			}
		</style>
	</head>

	<body>
		<div id="wrapper">
			<!-- Navigation -->
			<nav class="navbar navbar-default1 navbar-static-top" role="navigation" style="margin-bottom: 0;width: 100%;box-sizing: border-box;left: 0;padding-left: 250px;z-index: 1000;">
				<div class="navbar-header">
					<div class="navhx-box">
						<a class="menuc" url="page/writeOff/woPage.html" href="javascript:void(0)">进店核销</a>
					</div>
				</div>
				<ul class="nav navbar-top-links navbar-right">
					<li>欢迎您：<label id="uname">admin</label></li>
					<li class="dropdown">
						<a class="dropdown-toggle" style="color:#363636;" data-toggle="dropdown" href="#"> <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i> </a>
						<ul class="dropdown-menu dropdown-user">
							<li>
								<a class="menuc" url="page/updatePwd/update.html" href="javascript:void(0)">修改密码</a>
							</li>
							<li id="exit-btn">
								<a href="javascript:void(0);">退出登录</a>
							</li>
						</ul>
					</li>
				</ul>
				<!-- /.navbar-static-side -->
			</nav>
			<div class="navbar-default sidebar" role="navigation" style="z-index: 2000;top: 0;margin-top: 0;padding-top:160px;">
				<div style="position: absolute;left: 60px;top:30px;"><img src="img/leftLogo.png" style="width: 120px;height: 120px;"></div>
				<div class="sidebar-nav navbar-collapse" ty="1">
					<ul class="nav" id="side-menu">
						<li>
							<a class="menuc txhme" url="page/member/list.html" href="javascript:void(0)"><i class="glyphicon glyphicon-user"></i>&#12288;会员信息</a>
						</li>
					</ul>
				</div>
				<div class="sidebar-nav navbar-collapse" ty="1" id="ss1">
					<ul class="nav" id="side-menu">
						<li>
							<a class="menuc txhme" url="page/shop/list.html" href="javascript:void(0)"><i class="glyphicon glyphicon-th"></i>&#12288;门店信息</a>
						</li>
					</ul>
				</div>
				<div class="sidebar-nav navbar-collapse" ty="1" id="ss2">
					<ul class="nav" id="side-menu">
						<li>
							<a class="menuc txhme" url="page/saleGoods/list.html" href="javascript:void(0)"><i class="glyphicon glyphicon-gift"></i>&#12288;出售商品</a>
						</li>
					</ul>
				</div>
				<div class="sidebar-nav navbar-collapse" ty="1" id="ss3">
					<ul class="nav" id="side-menu">
						<li>
							<a class="menuc txhme" url="page/order/list.html" href="javascript:void(0)"><i class="glyphicon glyphicon-list-alt"></i>&#12288;订单</a>
						</li>
					</ul>
				</div>
				<!--<div class="sidebar-nav navbar-collapse" ty="1">
					<ul class="nav" id="side-menu">
						<li>
							<a class="menuc txhme" url="page/payment/list.html" href="javascript:void(0)"><i class="glyphicon glyphicon-usd"></i>&#12288;支付流水</a>
						</li>
					</ul>
				</div>-->
				<div class="sidebar-nav navbar-collapse" ty="2" id="ss4">
					<ul class="nav ste" id="side-menu">
						<li>
							<a class="menuc setupbox txhme" href="javascript:void(0)"><i class="glyphicon glyphicon-cog"></i>&#12288;设置</a>
							<ul class="set-up">
								<li>
									<a class="menuc txhtitle" url="page/set-up/management/list.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">账号管理</span>
									</a>
								</li>
								<!--<li>
									<a class="menuc txhtitle" url="page/order/order_list.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">卡种管理</span>
									</a>
								</li>-->
								<li>
									<a class="menuc txhtitle" url="page/set-up/city/city.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">城市管理</span>
									</a>
								</li>
								<li>
									<a class="menuc txhtitle" url="page/set-up/store/store.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">门店分组</span>
									</a>
								</li>
								<li>
									<a class="menuc txhtitle" url="page/set-up/banner/banner.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">banner图</span>
									</a>
								</li>
								<!--<li>
									<a class="menuc txhtitle" url="page/order/order_list.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">分类管理</span>
									</a>
								</li>-->
								<!--<li>
									<a class="menuc txhtitle" url="page/order/order_list.html" href="javascript:void(0)">
										<span class="pointer"></span>
										<span class="publicset">卡种规格管理</span>
									</a>
								</li>-->
							</ul>
						</li>
					</ul>
				</div>
				<!-- /.sidebar-collapse -->
			</div>
			<!-- Page Content -->
			<div id="page-wrapper">
				<iframe src="page/writeOff/woPage.html" frameborder="0" width="100%" id="iframecon" name="iframepage" onLoad="iFrameHeight();"></iframe>
			</div>
			<!-- /#page-wrapper -->
		</div>
		<!-- /#wrapper -->
		<!-- jQuery -->
		<script src="./sbadmin/bower_components/jquery/dist/jquery.min.js"></script>
		<!-- Bootstrap Core JavaScript -->
		<script src="./sbadmin/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
		<!-- Metis Menu Plugin JavaScript -->
		<script src="./sbadmin/bower_components/metisMenu/dist/metisMenu.min.js"></script>
		<!-- Custom Theme JavaScript -->
		<script src="./sbadmin/dist/js/sb-admin-2.js"></script>
		<script src="js/layer/layer.js"></script>
		<!--左边菜单控制切换右侧内容js-->
		<script>
			$(document).ready(function(e) {
				$(".menuc").click(function() {
					var url = $(this).attr("url");
					$("#iframecon").attr("src", url);
				})
			});
		</script>
		<!--iframe自适应内容高度js-->
		<script type="text/javascript" language="javascript">
			function iFrameHeight() {
				var ifm = document.getElementById("iframecon");
				ifm.height = $(window).height() - 80;
			}
		</script>
		<script>
			var adminName = localStorage.getItem("adminName");
			var isType = localStorage.getItem("isType");
			if(isType != "1") {
				$("#ss1").hide();
				$("#ss2").hide();
				$("#ss3").hide();
				$("#ss4").hide();
			}
			$("#uname").html(adminName);
			$("#exit-btn").click(function() {
				//询问框
				layer.confirm('您确定退出吗？', {
					btn: ['确定', '取消'] //按钮
				}, function() {
					window.location.href = 'login.html';
				});
			});
			$(".sidebar-nav").on('click', function() {
				console.log($(this).length)
				if($(this).attr('ty') != '2') {
					$(".set-up").stop().slideUp();
				};
				$(this).addClass('publictit').siblings().removeClass('publictit');
				$(this).find('.txhme').addClass('txted').parents('.sidebar-nav').siblings().find('.txhme').removeClass('txted');
			});
			$(".set-up li").on('click', function() {
				$(this).children('.txhtitle').addClass('publictxt').parent('li').siblings().children('.txhtitle').removeClass('publictxt');
				$(this).find('.pointer').addClass('publicpot').parents('li').siblings().find('.pointer').removeClass('publicpot');
			});
			$(".setupbox").on('click', function() {
				$(".set-up").stop().slideToggle();
			});
		</script>
	</body>

</html>